<template>
  <div>
    <c-title :hide="false" text="数据"></c-title>
    <div class="flex-col flex-1 group">
      <div class="flex-row items-center">
          <div class="font30" @click="openPicker">
                <div class="color6">{{date?date:'请选择日期'}}
                 <img class="ml-4 image_4" src="https://shops.cg500.com/static/newimg/17137751395536509357.png" />
                 </div>
            </div>
        
      </div>
      <div class="flex-col mt-25">
        <div class="flex-col section_3 list-item mt-15">
          <div class="flex-row items-center">
            <div class="flex-col justify-start items-center relative group_2">
              <img class="image_5" src="https://shops.cg500.com/static/newimg/qianqian.png" />
            </div>
            <span class="font_2 text_3 ml-5-5">总团队业绩</span>
          </div>
          <div class="flex-col group_3 mt-22-5">
            <div class="flex-row items-baseline justify-center">
              <span class="font_3">{{ teamYeji }}</span>
            </div>
            <span class="mt-12 self-center font_4">交易金额(元)</span>
          </div>
        </div>
        <div class="flex-col section_3 list-item mt-15" @click="team(1)">
          <div class="flex-row items-center">
            <div class="flex-col justify-start items-center relative group_2">
              <img class="image_5" src="https://shops.cg500.com/static/newimg/bc02a2fd8771560a7099595771c02a77.png" />
            </div>
            <span class="font_2 text_3 ml-5-5">总直营业绩</span>
          </div>
          <div class="flex-col group_3 mt-22-5">
            <div class="flex-row items-baseline justify-center">
              <span class="font_3">{{ zhiyingYeji }}</span>
            </div>
            <span class="mt-12 self-center font_4">交易金额(元)</span>
          </div>
        </div>
        <div class="flex-col section_3 list-item mt-15" @click="partner">
          <div class="flex-row items-center">
            <div class="flex-col justify-start items-center relative group_2">
              <img class="image_5" src="https://shops.cg500.com/static/newimg/17137751395730553725.png" />
            </div>
            <span class="font_2 text_3 ml-5-5">总伙伴业绩</span>
          </div>
          <div class="flex-col group_3 mt-22-5">
            <div class="flex-row items-baseline justify-center">
              <span class="font_3">{{ partnerYeji }}</span>
            </div>
            <span class="mt-12 self-center font_4">交易金额(元)</span>
          </div>
        </div>
       
      </div>
     
    </div>
     
     <van-popup v-model="pickerShow" position="bottom">
          <van-datetime-picker v-model="currentDate" @cancel="pickerCancel" @confirm="pickerConfirm" type="year-month" title="选择年月" :min-date="minDate" :max-date="maxDate"  />
     </van-popup>
  </div>
  
</template>

<script>
import informationDetailController from "./informationDetailController";

export default informationDetailController;
</script>


<style lang="scss" rel="stylesheet/scss" scoped>
@import "../common/common.css";
.mt-15 {
  margin-top: 15px;
}
.mt-25 {
  margin-top: 25px;
}
.group {
  padding: 15px 14px 20px;
  overflow-y: auto;
}
.font {
  font-size: 18px;
  font-family: PingFang SC;
  line-height: 14px;
  font-weight: 700;
  color: #010611;
}

.image_4 {
  width: 11px;
  height: 7.5px;
}
.section_3 {
  padding: 16px 14px 35px;
  border-radius: 12px;
  background-image: url("https://shops.cg500.com/static/newimg/aa0738fe7de1cf354a3385f652d65f38.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.list-item:first-child {
  margin-top: 0;
}
.group_2 {
  padding-top: 2px;
  width: 26px;
}
.image_5 {
  width: 25px;
  height: 25px;
}

.color6 {
  font-weight: 600;
}

.font_2 {
  font-size: 15px;
  font-family: PingFang SC;
  line-height: 14px;
  font-weight: 500;
  color: #010611;
}
.text_3 {
  line-height: 15px;
}
.group_3 {
  margin: auto;
  margin-top: 20px;
}
.font_3 {
  font-size: 36px;
  font-family: PingFang SC;
  line-height: 27px;
  font-weight: 700;
  color: #010611;
}
.font_4 {
  font-size: 13px;
  font-family: PingFang SC;
  line-height: 13px;
  color: #70767f;
}
</style>
